Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| # trainz 22 tzarc v2 decompressor by Puyodead1 | |
| # as far as i know, this is only used in trainz plus but that might have changed? its used in archives from 2023 and later | |
| # base information on the tzarc v1 format is from https://github.com/rileyzzz/ChumpLib/blob/main/chumplib/src/tzarcfile.cpp | |
| import argparse | |
| import zlib | |
| # pip install binreader | |
| from binreader import BinaryReader | |
| # pip install tqdm |
Every standard we write is governed by a small fixed number of principles: 3 to 5. Not "roughly a handful", not "as many as it needs". If a standard wants a sixth principle, one of the existing five has to be merged, generalized, orcut.
The idea comes from Gerard Holzmann's "The Power of Ten" (NASA/JPL https://spinroot.com/gerard/pdf/P10.pdf). His observation: most coding guidelines run past a hundred rules, each new document longer than the last, many rules born from personal preference or one bad day years ago. The result is that the guidelines have little effect on what developers actually do. Nobody can follow a rulebook they cannot remember.
His answer for safety-critical code was ten strict rules, small enough to hold in your head, each carrying its own rationale. Ours does not need to be that strict, but the reasoning holds at any scale:
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| Visual Studio 2026 18.x | |
| Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK | |
| Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V | |
| Product Year Version Product Keys | |
| Visual Studio 2022 2021 17.x | |
| Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J | |
| Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH | |
| Visual Studio 2019 2019 16.x |
| import random | |
| import string | |
| def generar_contraseña(longitud=16, mayusculas=True, minusculas=True, numeros=True, simbolos=True): | |
| caracteres = "" | |
| if mayusculas: | |
| caracteres += string.ascii_uppercase | |
| if minusculas: | |
| caracteres += string.ascii_lowercase |